package 力扣_链表.基础操作;

/**
 * @author zx
 * @create 2022-08-15 15:31
 */
public class 删除链表的节点_18 {
    public void deleteNode(ListNode node) {
        node.val = node.next.val;
        node.next = node.next.next;
    }
}
